#pragma once
#include "LinkedList.h"
#include "FileHandler.h"

struct Tile
{
	unsigned char m_BrushID;
	unsigned char m_TileIndex;
	unsigned char m_TileSet;
	int m_TileID;
};

class TIL
{
public:
	TIL();
	~TIL();	

	void Load( char* a_FilePath );
	void Save( char* a_FilePath );

	Tile GetTile( unsigned int a_X, unsigned int a_Y );

private:
	FileHandler* m_File;
	int m_Width;
	int m_Height;	
	Tile m_Tiles[15][15];
};

